package com.messe.base.models;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * 市场活动--目标表
 * @author jinxiaozhang
 *
 */
public class Target implements java.io.Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -8387606494017975005L;
	private String id;
	private Marketing marketing;
	private String personId;//type为0,存Person的ID,type为1,存IndustryDataPerson的ID,type为2,存MagazinePerson的ID
	private Integer type;
	private Timestamp createdStamp;
	
	private Set<TaskTargetRel> taskTargetReles=new HashSet<TaskTargetRel>();
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Marketing getMarketing() {
		return marketing;
	}
	public void setMarketing(Marketing marketing) {
		this.marketing = marketing;
	}
	public String getPersonId() {
		return personId;
	}
	public void setPersonId(String personId) {
		this.personId = personId;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public Timestamp getCreatedStamp() {
		return createdStamp;
	}
	public void setCreatedStamp(Timestamp createdStamp) {
		this.createdStamp = createdStamp;
	}
	public Set<TaskTargetRel> getTaskTargetReles() {
		return taskTargetReles;
	}
	public void setTaskTargetReles(Set<TaskTargetRel> taskTargetReles) {
		this.taskTargetReles = taskTargetReles;
	}
	
}
